package com.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/5/10 0010.
 */

public class BankCodeData {
    private List<BankCode> banklist;
    private int page;  //页码
    private int next;  //是否有下一页   1有下一页 0没有下一页

    public List<BankCode> getBanklist() {
        return banklist;
    }

    public void setBanklist(List<BankCode> banklist) {
        this.banklist = banklist;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getNext() {
        return next;
    }

    public void setNext(int next) {
        this.next = next;
    }

    public boolean hasNext() {
        return next == 1;
    }

    @Override
    public String toString() {
        return "BankCodeData{" +
                "banklist=" + banklist +
                ", page=" + page +
                ", next=" + next +
                '}';
    }
}
